<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/member/themes/YouErJiaoYu/header.jsp" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">
<link href="${ctxStatic}/jquery-mobile/css/jquery.mobile-1.3.1.min.css" type="text/css" rel="stylesheet" />
<title>绑定信息</title>
<script type="text/javascript">

$(document).ready(function() {
	$("#errorMessage").hide()
});

</script>
</head>
<body>
	<div class="main">
		<div>
			<div>
				<div class="ztContent">
				<div data-role="header" align="center" style="margin:10px;">
						 
				</div>
					<c:if test="${not empty message  }">
						<span class="alert" >${message}</span>
					</c:if>
					<form id="inputForm" action="${ctx}/edu/bindingStudent" method="post" >
							<input type="hidden" name="action" value="reg" /> 
							<input type="hidden" name="uid" value="${uid }" /> 
							<input	type="hidden" name="topage" value="${topage }" />
							<input	type="hidden" name="wechatId" value="${wechatId }" />
							<input	type="hidden" name="login" value="1" />
							<input	type="hidden" name="style" value="${style}"/>
							<div align="center">
								
								<div class="control-group">
									<div class="controls">
										<c:if test="${fn:length(studentList) ==0}">
											<div class="alert alert-warning">
											 你好，通过您的手机号，在幼儿园内没有匹配到和您相符合的孩子，请进行 <a href="${ctx}/edu/humanChoose?uid=${uid}&wechatId=${wechatId}&style=${style}" class="alert-link">手动选择</a>
											</div>
											
										</c:if>
										
										<c:if test="${fn:length(studentList)!=0 }">
											<div class="alert alert-warning">
												 您还没有对孩子进行绑定，我们根据您的手机号智能的做出如下筛选请选择 
											</div>
											<ul class="list-unstyled">
											<c:forEach items="${studentList }" var="student">
											  <li>
											  			<input  name="student_id" value="${student.id }"   type="radio" checked="checked">
														${student.name }${student.birthday }
											</li>
											</c:forEach>
											</ul>
										</c:if>
									</div>
								</div>
								<div  align="center" class="alert" id="errorMessage" style="color:red;"  >
									
							</div>
								<div   align="center">
									<input id="btnSubmit" class="btn btn-danger" type="submit"
										value="确定" />
								</div>
								<div  align="center">
									
								</div>
								
								
							</div>
						</form>
						
				</div>
			</div>
		</div>
	</div>
</body>


<jsp:include page="./footer.jsp"></jsp:include>
</html>